package com.fs.cv.pojo.pojodao;

/**
 * <p>成绩实体类</p>
 *
 * @author : smy
 * @date : 2020-09-28 14:36
 **/
public class Score {
    //成绩表id
    private int scoreId;
    //平时成绩
    private int scoreGPA;
    //考试成绩
    private int scoreExam;
    //课程id
    private int courseId;

    //是否缺勤
    private int absence;

    //学生Id
    private int studentId;

    public Score() {
    }

    public Score(int scoreId, int scoreGPA, int scoreExam, int courseId, int absence, int studentId) {
        this.scoreId = scoreId;
        this.scoreGPA = scoreGPA;
        this.scoreExam = scoreExam;
        this.courseId = courseId;
        this.absence = absence;
        this.studentId = studentId;
    }

    public int getScoreId() {
        return scoreId;
    }

    public void setScoreId(int scoreId) {
        this.scoreId = scoreId;
    }

    public int getScoreGPA() {
        return scoreGPA;
    }

    public void setScoreGPA(int scoreGPA) {
        this.scoreGPA = scoreGPA;
    }

    public int getScoreExam() {
        return scoreExam;
    }

    public void setScoreExam(int scoreExam) {
        this.scoreExam = scoreExam;
    }

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    @Override
    public String toString() {
        return "Score{" +
                "scoreId=" + scoreId +
                ", scoreGPA=" + scoreGPA +
                ", scoreExam=" + scoreExam +
                ", courseId=" + courseId +
                ", absence=" + absence +
                ", studentId=" + studentId +
                '}';
    }
}
